package com.nmsl.system.guahao_charge.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.nmsl.common.annotation.Excel;
import com.nmsl.common.core.domain.BaseEntity;

/**
 * 挂号费用对象 registration_fee
 * 
 * @author gmh
 * @date 2025-02-17
 */

public class guahao_gmh extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 挂号费名称 */
    @Excel(name = "挂号费名称")
    private String registrationName;

    /** 金额（元） */
    @Excel(name = "金额", readConverterExp = "元=")
    private BigDecimal amount;

    /** 成本价（元） */
    @Excel(name = "成本价", readConverterExp = "元=")
    private BigDecimal costPrice;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 创建人员 */
    @Excel(name = "创建人员")
    private Long adminId;

    /** 允许会员折扣 */
    @Excel(name = "允许会员折扣")
    private Integer discountAllowed;

    /** 费用状态 */
    @Excel(name = "费用状态")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRegistrationName(String registrationName) 
    {
        this.registrationName = registrationName;
    }

    public String getRegistrationName() 
    {
        return registrationName;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setCostPrice(BigDecimal costPrice) 
    {
        this.costPrice = costPrice;
    }

    public BigDecimal getCostPrice() 
    {
        return costPrice;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }
    public void setAdminId(Long adminId) 
    {
        this.adminId = adminId;
    }

    public Long getAdminId() 
    {
        return adminId;
    }
    public void setDiscountAllowed(Integer discountAllowed) 
    {
        this.discountAllowed = discountAllowed;
    }

    public Integer getDiscountAllowed() 
    {
        return discountAllowed;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("registrationName", getRegistrationName())
            .append("amount", getAmount())
            .append("costPrice", getCostPrice())
            .append("creationTime", getCreationTime())
            .append("adminId", getAdminId())
            .append("discountAllowed", getDiscountAllowed())
            .append("status", getStatus())
            .toString();
    }
}
